projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b70e6
)
Apply font-lock in hexl-mode buffers
author
Wilfred Hughes
<me@wilfred.me.uk>
Thu, 27 Jun 2019 11:30:36 +0000
(13:30 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 27 Jun 2019 11:30:36 +0000
(13:30 +0200)
* lisp/hexl.el (hexl-mode): After setting font-lock-defaults, we
need to call `font-lock-ensure' to apply hexl-mode faces
(bug#24645).
lisp/hexl.el
patch
|
blob
|
history
diff --git
a/lisp/hexl.el
b/lisp/hexl.el
index ee5a9c0fce2e71ee12bd6408afd435cfdbb8d656..5ba0ef5b2a8a4e354d0339c6ca835f516c3c7611 100644
(file)
--- a/
lisp/hexl.el
+++ b/
lisp/hexl.el
@@
-374,6
+374,8
@@
You can use \\[hexl-find-file] to visit a file in Hexl mode.
"hexl-current-address")
(if hexl-follow-ascii (hexl-follow-ascii-mode 1)))
+ (when global-font-lock-mode
+ (font-lock-ensure))
(run-mode-hooks 'hexl-mode-hook))